const menu = document.querySelector("#menu");
const aside = document.querySelector("#aside");
const main = document.querySelector("#main");
const wrapper = document.querySelector("#wrapper");

menu.addEventListener("click", () => {
  aside.classList.add("an");
  main.classList.add("an");
});

wrapper.addEventListener("click", () => {
  aside.classList.remove("an");
  main.classList.remove("an");
});